package com.java2007.zhangyu.restaurant.pojo;

import java.util.Date;

/**
 * 订单实体类
 * @author zy
 * @Version
 * @date 2021/01/27
 */
public class Order {
    private Long oId;
    private Integer tId;
    private Long totalPrice;
    private Integer oPayState;
    private Date oCreateTime;
    private Date oUpdateTime;
    private int oCreateUser;

    public Order() {
    }

    public Long getoId() {
        return oId;
    }

    public void setoId(Long oId) {
        this.oId = oId;
    }

    public Integer gettId() {
        return tId;
    }

    public void settId(Integer tId) {
        this.tId = tId;
    }

    public Long getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Long totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getoPayState() {
        return oPayState;
    }

    public void setoPayState(Integer oPayState) {
        this.oPayState = oPayState;
    }

    public Date getoCreateTime() {
        return oCreateTime;
    }

    public void setoCreateTime(Date oCreateTime) {
        this.oCreateTime = oCreateTime;
    }

    public Date getoUpdateTime() {
        return oUpdateTime;
    }

    public void setoUpdateTime(Date oUpdateTime) {
        this.oUpdateTime = oUpdateTime;
    }

    public int getoCreateUser() {
        return oCreateUser;
    }

    public void setoCreateUser(int oCreateUser) {
        this.oCreateUser = oCreateUser;
    }

    @Override
    public String toString() {
        return "Order{" +
                "oId=" + oId +
                ", tId=" + tId +
                ", totalPrice=" + totalPrice +
                ", oPayState=" + oPayState +
                ", oCreateTime=" + oCreateTime +
                ", oUpdateTime=" + oUpdateTime +
                ", oCreateUser=" + oCreateUser +
                '}';
    }
}
